export default {
	data() {
		return {
			serverUrl: 'https://uni.letxi.cn', //'http://127.0.0.1:3007'
		}
	},
	computed: {
		user_id() {
			return this.$store.state.user.user_id;
		},
		userInfo() {
			return this.$store.state.user.userInfo;
		}
	},
	watch: {
		user_id(newVal) {
			this.$store.dispatch('setUserInfo');
		}
	}
}
